package com.zwk.gulimall.product.annotation;

import com.zwk.gulimall.product.annotation.group.AllGroup;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.TYPE})
@Inherited
/**
 * 用在类上：类需要关联
 * 用在方法上：开启关联
 */
public @interface Overall {
    //分组
    Class[] value() default AllGroup.class;
}
